/*
 * This file is part of freewm.
 *
 * freewm is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * freewm is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with freewm.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef MODULE_H
#define MODULE_H

int module_load(const char *mod_name);
void module_load_all(const char *path);
void module_unload(const char *mod_name);
void module_unload_all(void);
void module_reload(const char *mod_name);
void module_reload_all(void);

void module_event_exec(const char *alias, XEvent *ev);
void module_bind_exec(const char *alias);

#endif /* MODULE_H */
